import time
timezone = time.timezone
print('timezone', timezone)
ticks = time.time()
ns = time.time_ns()

print('ticks', ticks, 'ns', ns)

localtime = time.localtime(time.time())
print('localtime', localtime)
localtime2 = time.localtime()
print('localtime2', localtime2)
time_str = time.strftime('%Y-%m-%d %H:%M:%S', localtime2)
print('timestr', time_str)